//
//  NSMHTMLController.h
//  iShow
//
//  Created by nsm on 2018/7/5.
//  Copyright © 2018年 nani. All rights reserved.
//

#import <NSMKit/NSMKit.h>
#import <WebKit/WebKit.h>

@interface WKProcessPool (SharedProcessPool)
+ (WKProcessPool *)sharedProcessPool;
@end


@interface NSMHTMLController : NSMViewController
@property (nonatomic, strong) WKWebView *wkWebView;
@property (nonatomic, copy) NSString *htmlURL;
/** 移除导航控制器中的上一个素 */
@property (nonatomic) BOOL removePreviousController;
/** KVO黑名单 */
@property (nonatomic) NSArray<NSString *> *blackListForKVO;
/** 能否收藏 */
@property (nonatomic) BOOL shareEnabled;
@property (nonatomic, copy) NSString *shareID;

- (void)loadRequest:(id)request;

@end


@interface UIViewController (NSMHTMLController)
- (void)pushHTMLController:(void(^)(NSMHTMLController *vc))hander URLString:(NSString *)urlString animated:(BOOL)animated;
@end
